package com.micro.edu.service;

import com.micro.edu.pojo.MicroAuthCode;
import org.springframework.web.bind.annotation.PathVariable;

public interface UserService {

    boolean register(String email, String password,String code);

    boolean isRegistered(String email);

    String login(String email, String password);

    String info(String token);
}
